<template>
　<div class="wrapper">
    <myHeader :obj="myObj"></myHeader>
    <pull-refresh :next="refresh">
      <div slot="list">
        <section v-for="item of list" class="list-item">
          {{item}}
        </section>
      </div>
    </pull-refresh>
　</div>
</template>
<script>
import { Loadmore } from 'mint-ui';
import myHeader from './base/myHeader';
import pullRefresh from './base/pullRefresh';
export default {
　　data() {
　　　　return {
          list:[1,2,3,4,5,5,6],
          myObj: {
            type: 3,
            text: "约见"
          }
　　　　}
　　},
    methods: {
      refresh() {
        return new Promise((resolve, reject) => {
          
        setTimeout(() => {
          resolve()
          
        }, 30000)
      })
      },
    },
    components: {
      Loadmore,
      myHeader,
      pullRefresh
    }
　}
</script>
<style lang="less" scoped>
.wrapper {
  width: 100%;
  height: 100%;
}

</style>


